.ai-tip {
  padding: 12px;
  font-size: 14px;
  font-weight: 400;
  color: #151515;
  background-color: #dbd6ff;
  margin-bottom: 24px;
  border-radius: 12px 12px 12px 0;
  width: 50%;
}

.fade-in {
  opacity: 0;
  animation: fadeAnim 0.5s ease-in forwards;
}

@keyframes fadeAnim {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.chat-child {
  max-width: 50%;
  display: flex;
}

.chat-child.left {
  align-self: flex-start;
}

.chat-child.right {
  align-self: flex-end;
}

.bubble{
  display: inline-block;
  position: relative;
  padding: 10px 20px;
  border: 1px solid #c83c23;
  border-radius: 12px;
  margin-bottom: 24px;
  background: #fff;
  width: 100%;
  box-sizing: border-box;
  word-break: break-all;
}
.bubble::before{
  content: '';
  position: absolute;
  top: 20%;
}
.bubble::after{
  content: '';
  position: absolute;
  top: 20%;
}
.bubble-left::before{
  left: -12px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right:12px solid #c83c23;
}
.bubble-left::after{
  left: -10px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right:12px solid #fff;
}
.bubble-right::before{
  right: -12px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left:12px solid #c83c23;
}
.bubble-right::after{
  right: -10px;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left:12px solid #fff;
}
